CFLAG= -std=c++11 -I ../../muduo/include/
LFLAG= -L../../muduo/lib  -lmuduo_net -lmuduo_base -pthread
all: server client
server: testserver.cc
	g++  -g $(CFLAG) $^ -o $@ $(LFLAG) -ljsoncpp
client: testclient.cc
	g++  -g $(CFLAG) $^ -o $@ $(LFLAG)	-ljsoncpp
.PHONY:clean
clean:
	rm -f server 
	rm -f client